home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49a.iso / editors / sofsdk / SoF SDK.msi / _27C3EC4C50C24B28B29FF588397FD081 < prev    next >
Encoding:
Text File  |  2000-03-27  |  1.2 KB  |  31 lines

  1. #include "../common/header.ds"
  2. output "p:/base/ds/tsr1"
  3.  
  4. /////////////////////////////////////////////////
  5.  
  6.  
  7.  
  8. local entity trackcam1 // the cam on the tracks
  9. local entity trackcam1n // the trackcams null
  10. local entity fryguy // the guy who gets killed
  11. local entity tracksparks // the spark gen by the tracks
  12. local int sig1
  13.  
  14. trackcam1 = find entity with targetname "trackcam1"
  15. trackcam1n = find entity with targetname "trackcam1n"
  16. fryguy = find entity with targetname "fryguy"
  17. tracksparks = find entity with targetname "tracksparks"
  18.  
  19. trackcam1.movetype =  MOVETYPE_NOCLIP
  20. trackcam1n.movetype = MOVETYPE_NOCLIP
  21.  
  22. use entity fryguy // spawns the guy who will get killed
  23. use entity trackcam1 // turns the camera on
  24. animate entity fryguy performing action WALK by moving [-32, 0, 0] signaling sig1 // has the guy walkforward towards the fusebox
  25. wait for all clearing sig1
  26. animate entity fryguy performing action STD_XALARMPUSH_N_A_N signaling sig1 // triggers the alarm push button animation
  27. wait for all clearing sig1
  28. animate entity fryguy performing action STD_SBLOWN_2BK_N_N signaling sig1 // the blown back animation
  29. use entity tracksparks // triggers the sparkgen
  30. wait for all clearing sig1
  31.